package com.sanniu.event;

import io.jboot.components.event.JbootEvent;
import io.jboot.components.event.JbootEventListener;
import io.jboot.components.event.annotation.EventConfig;

@EventConfig(action = {"user_register","user_update"})
public class UserEventListener implements JbootEventListener {
    @Override
    public void onEvent(JbootEvent event) {
        Object data = event.getData();
        System.out.println("get data:" + data);
    }
}
